﻿using System;
using System.Collections.Generic;
using System.Text;

namespace DotPowerJob.Responses
{
    public class PowerJobResponse
    {
        public bool Success { get; set; }
        public string Message { get; set; }

        public static PowerJobResponse Failed(string msg)
        {
            return new PowerJobResponse()
            {
                Success = false,
                Message = msg
            };
        }

        public static PowerJobResponse Successed()
        {
            return new PowerJobResponse() { Success = true };
        }
    }
}
